using System;

namespace Rioshu.Web.ViewStateHandlers
{
    public static class TypeExt
    {
        public static bool IsImplementationOf<T>(this Type type)
        {
            return (type.GetInterface(typeof (T).FullName) != null);
        }
    }
}